/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ds_semetralka;

import entities.Faculty;
import entities.Student;
import entities.Subject;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.EntityTransaction;

/**
 *
 * @author Admin
 */
abstract class Interface {
    
    protected EntityManagerFactory emf;
    protected EntityManager em;
    protected EntityTransaction tx;
    
    public abstract List<Subject> getAllSubjects();
    public abstract List<Faculty> getAllFaculties();
    public abstract List<Subject> getSubjectsFromFaculty(Faculty faculty);
    public abstract List<Subject> getSubjectsFromFaculty(Long facultyId);
}
